New in version 3.0 is the default style concept to deliver optimal performance right out-of-the-box.
The default style feature offers the following benefits:
- Clean control definition during development. This significantly improves loading time in the Visual Studio 2005 designer because unnecessary style objects do not need to be created.
- Best performance in server throughput. If your end users are satisfied with the default style of WebInput.NET version 3.0, we highly recommend you to use the default style whenever possible. By enabling default style, the server side processing is significantly reduced because there is no need to serializing styles, validating and parsing the styles and finally generate the styles into css-based classes in the page output.
- Reduced page output size up to 70 percent. Based on a research, more than 60 percent of web developers do not modify the styles of Intersoft's control in their web application.
Several important things to note around Default Style feature:
-
When Default Style is enabled, WebInput will include a link to external stylesheet that contains reusable style definition used by the Default Style. This external resource is fetched by using standard WebResource feature, and is automatically handled by WebInput. There is no efforts required by developers.
-
When Default Style is enabled, all styles definition in the control instance should be removed. You cannot have styles definition and using default style at the same time.
-
Default Style feature is enabled by default for new instance of WebInput.NET 3.0. Existing instances of WebInput (i.e. after migrated from previous version) will continue to use their existing styles definition.
In This Section
How-to: Enable Default Style for existing instance of WebInput
Other Resources
{Working with Designer}